package com.ct.musicserver.common.errorcode;

public interface ServiceErrorCodeConstants {

    // ***********************用户**********************************
    ErrorCode USER_INFO_EMPTY = new ErrorCode(-100, "用户信息为空!");
    ErrorCode PASSWORD_ERROR = new ErrorCode(-101, "密码错误!");

    // ***********************音乐**********************************
    ErrorCode SINGER_OR_FILE_IS_EMPTY = new ErrorCode(-200, "歌手或歌曲不能为空!");
    ErrorCode MUSIC_IS_EXIST = new ErrorCode(-201, "该歌曲已存在!");
    ErrorCode MUSIC_UPLOAD_ERROR = new ErrorCode(-202, "服务器上传失败!");
    ErrorCode FILE_READ_ERROR = new ErrorCode(-203, "文件读取失败!");
    ErrorCode MUSIC_INFO_IS_EMPTY = new ErrorCode(-204, "music信息为空!");
    ErrorCode MUSIC_INFO_HAS_EMPTY = new ErrorCode(-205, "部分music信息为空!");


    // ***********************喜欢的音乐******************************
    ErrorCode MUSIC_IS_LIKE = new ErrorCode(-300, "音乐已经点赞过!");
    ErrorCode MUSIC_IS_NOT_CHOICE = new ErrorCode(-301, "未选择音乐!");

}
